Skip to content

Conversation

@zahin-mohammad
Copy link
Contributor

No description provided.

lcovar and others added 30 commits January 6, 2026 12:52
Gate only to testnet right now.

Ticket: BTC-2909

TICKET: BTC-2909
Use wasm-utxo Dimensions to calculate transaction dimensions in PSBT
recovery, replacing temporary utxolib conversion. This provides more
consistent fee estimation by using the same Dimensions implementation
throughout the process.

Co-authored-by: llm-git <llm-git@ttll.de>

Ticket: BTC-2909

TICKET: BTC-2909
Use fixedScriptWallet.Dimensions from wasm-utxo instead of utxolib
Dimensions for fee calculation in crossChainRecovery, eliminating the
need for temporary PSBT conversion.

Co-authored-by: llm-git <llm-git@ttll.de>

Ticket: BTC-2909

TICKET: BTC-2909
This commit installs @api-ts/openapi-generator as a dev dependency. This
used to be manually installed in CI, but got lost when moving the
generation step into a new workflow

TICKET: DX-2708
fix: override verify tss txn for xdc token
Replace utxolib address generation with unified wasm-utxo implementation
for both testnet and mainnet networks.

Issue: BTC-2912

Co-authored-by: llm-git <llm-git@ttll.de>
Use a type union with template literals to derive testnet coin names from
mainnet names. Update validation function to check if name starts with 't'
followed by a valid mainnet coin name.

This now declares some testnets that may not really exists, but simplifies
the code and type definitions significantly.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Refines and enhances type definitions throughout the abstract-utxo module.
Introduces cleaner naming conventions with `getCoinName` replacing
the deprecated `getChainFromNetwork` function. Adds proper return type
annotations to class methods for better static analysis and IDE support.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Check that obj.coin is a string before testing if it's a valid UTXO coin name.
This prevents potential runtime errors when processing wallet data.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
This change makes coin name an explicit property of each coin class instead
of deriving it from the network. Coin classes now declare their name directly
with a readonly property, and the network is derived from the name instead.

This simplifies the constructor by removing the network parameter and
improves the type safety by making the relationship between coin name
and network explicit.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Add explicit array of testnet coin names instead of deriving them with
string operations. Add getMainnetCoinName function to map any coin to its
mainnet variant, with special handling for Bitcoin testnet variants.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Replace getFamilyFromNetwork with getMainnetCoinName to directly
determine the family name from the coin name without going through
the network.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Replace the deprecated `getFullNameFromNetwork` with the new
`getFullNameFromCoinName` function that determines the full coin name
directly from the coin name rather than the network object.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Use wasm-utxo dimensions for recovery
…xo-prod

feat(abstract-utxo): use wasm-utxo address generator for all networks
- Replace Dimensions.fromOutput(script) with Dimensions.fromOutput(address, coinName)
- This eliminates utxolib.address.toOutputScript calls in dimension calculations

Ticket: BTC-2909

TICKET: BTC-2909
chore: remove duplicate PSBT hex from signTransaction response
feat: enable multisig stuck tx for all EVM chains
feat(sdk-coin-tempo): add transaction serialization
feat(abstract-utxo): refactor coin name handling and improve type safety
feat: use fromOutput to remove utxolib dependency in wasm path
Refactor signAndVerifyPsbt to separate signing and finalization steps. Remove
isLastSignature parameter from the function to make it more modular and
focused on just signing. Finalization is now handled separately where needed.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Rename signPsbt.ts to signPsbtUtxolib.ts and update all references to
it. This improves clarity by making the utxolib dependency explicit in
the filename. Also rename signPsbtWithMusig2Participant to
signPsbtWithMusig2ParticipantUtxolib for consistency.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Add new function that selects between utxolib or wasm-utxo implementations
based on the PSBT type. This simplifies client code by providing a single
entry point for both signing implementations.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
Change PSBT creation functions to use coin name instead of network. This
makes the code more robust against network naming differences between
utxolib and wasm-utxo.

The coin name is used to determine the network through helper functions,
ensuring consistency across recovery implementations.

Issue: BTC-2909

Co-authored-by: llm-git <llm-git@ttll.de>
OttoAllmendinger and others added 13 commits January 12, 2026 21:02
feat(abstract-utxo): implement BIP-322 signature verification with wasm-utxo
Simplify the signature of isReplayProtectionUnspent to accept any object
with an address property instead of requiring a full utxolib unspent.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
This commit refactors the code to use coin name strings instead of utxolib
network objects when interacting with addresses, descriptors, and other
coin-specific functionality. This makes the code more maintainable and
helps in the transition to wasm-utxo.

Also adds utility functions isTestnetCoin and isMainnetCoin to replace
the utxolib functions.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
feat: address resolution function for hbarevm
Tokens added:
- ETH: RESOLV, SPEC, PROMPT, YB
- BSC: STO (StakeStone)
- Arbitrum: NEXT (Everclear)
- Base: B3, KAITO
- SOL: PRCL (Parcl), ASP (Aspecta)
- SUI: DMC (DeLorean)

Ticket: COIN-2681
feat(statics): onboard 11 new ungated tokens with OFC equivalents
chore: enable staking feature for og
feat(abstract-utxo): deprecate `network` for AbstractUtxoCoin internally
fix(express): allow string for feeRate
@zahin-mohammad zahin-mohammad marked this pull request as ready for review January 13, 2026 23:05
@zahin-mohammad zahin-mohammad requested review from a team as code owners January 13, 2026 23:05
@zahin-mohammad zahin-mohammad marked this pull request as draft January 13, 2026 23:21
@zahin-mohammad
Copy link
Contributor Author

Moved to #7896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.